using System;

// Configure log4net using the .config file
[assembly: log4net.Config.XmlConfigurator(Watch=true)]

namespace DataLayer {
	public class PersonDTO {
		private static readonly log4net.ILog log = log4net.LogManager.GetLogger ("DataLayerLogger");
		private string name;
		private int age;
		private double height;
		
		public PersonDTO () {
			// do nothing
			//
			log.Debug ("Default constructor");
		}
		
		public PersonDTO (string name, int age, double height) {
			log.DebugFormat ("Constructor parameters name={0}, age={1}, height={2}", name, age, height);
		}

		public string Name {
			set {
				name = value;
			}
			get {
				return name;
			}
		}
		
		public int Age {
			set {
				age = value;
			}
			get {
				return age;
			}
		}
		
		public double Height {
			set {
				height = value;
			}
			get {
				return height;
			}
		}
	}
}
